ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / MultiSelect<T> Class / MaxHeaderItems Property

In This Topic
    MaxHeaderItems Property
    In This Topic
    Gets or sets the maximum number of items to display on the control header.
    Syntax
    'Declaration
     
    
    <DefaultValueAttribute(2)>
    Public Property MaxHeaderItems As Integer
    [DefaultValue(2)]
    public int MaxHeaderItems {get; set;}
    Remarks
    If no items are selected, the header displays the text specified by the Placeholder property.If the number of selected items is smaller than or equal to the value of the MaxHeaderItems property, the selected items are shown in the header. If the number of selected items is greater than MaxHeaderItems, the header displays the selected item count instead.
    See Also